package com.qf.day12_2;

/**
 * @author wgy
 * @version V1.0
 * @Project day12
 * @Package com.qf.day12_2
 * @Description: ${TODO}
 * @Date 2021/6/2 14:39
 */
public class Dog extends Animal {
    String furColor;
    public Dog(){

    }

    public Dog(String breed, int age, String sex, String furColor) {
        super(breed, age, sex);
        this.furColor = furColor;
    }

    public void run(){
        System.out.println("狗狗奔跑...");
    }

    @Override
    public void eat() {
        System.out.println("狗狗大口大口啃骨头...");
    }

    @Override
    public void sleep() {
        System.out.println("狗狗趴着睡觉...");
    }
}
